from optparse import OptionParser

usage = 'usage: %prog [options]'

def parse_args():
    parser = OptionParser(usage=usage)
    parser.add_option('-v', '--verbose', action='store_true',
                      dest='verbose', help='increase logging output')
    return (parser.parse_args(),parser)
